<?php
require_once("inc/constants.inc.php");
$con = mysql_connect(DB_HOST, DB_USERNAME, '');
if (!$con) {
    die('Could not connect: ' . mysql_error());
}
mysql_select_db(DB_NAME,$con);

?>